import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters'

import appModule from './app'
import adminModule from './admin'
import testModule from './test'

Vue.use(Vuex)

const modules = {
  app123: appModule,
  admin: adminModule,
  test: testModule,
}

const store = new Vuex.Store({
  modules,
  getters
})

export default store
